package com.uniinnovate.lanjingling.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.uniinnovate.lanjingling.pojo.vo.JobApplicationVO;
import com.uniinnovate.lanjingling.utils.PageUtils;
import com.uniinnovate.lanjingling.entity.JobApplicationEntity;
import com.uniinnovate.lanjingling.utils.R;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * 
 *
 * @author LianChuangTech
 * @email LianChuangTech@163.com
 */
public interface JobApplicationService extends IService<JobApplicationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R submitApply(JobApplicationVO jobApplicationVO);

    /**
     * 获取申请列表
     * @param id
     * @return
     */
    R listApply(Long id);

    /**
     * 审核申请
     * @param applyId
     * @return
     */
    R auditApply(@RequestParam("applyId") Long applyId);
}

